﻿@using xConnected.Common.ExpertProfile
<div class="modal hide fade" id="ReferencesProfileDialog" style="display: none;" >
    <div class="modal-header">
    </div>
    <div class="modal-body" data-bind="with: workingProfileBuffer">
        <div class="row">
            <div class="control-group span6" data-bind="css: {'error': References.isValid() == false }" >
            <label class="control-label" for="References"><strong>@Resources.References *</strong></label>
            <div class="controls">
                <textarea cols="15" rows="8" class="tinymce" data-bind="tinymce: References, tinymceOptions: { theme: 'advanced',height: '300', width:'500' }" tabindex="1"> </textarea>
                <span class="help-inline" data-bind="validationMessage: References"></span>
            </div>
        </div>
        </div>
    </div>
    <div class="modal-footer">
        <a href="#" class="btn btn-small btn-info" data-bind="click: function() { $root.profile.okReferences();}"><strong>@Resources.Ok</strong></a>
        <a href="#" class="btn btn-small" data-bind="click: function() { $root.profile.cancelReferences();}"><strong>@Resources.Cancel</strong></a>
    </div>
</div>